#ifndef RECORDSET_H
#define RECORDSET_H
#include <vector>
#include "Record.h"
#include "SQLiteWrapper.h"

using std::vector;

namespace duomai {
    namespace im {
        class RecordSet
        {
        public:
            RecordSet(SQLiteWrapper db, ColumnSet *pColumnSet);
            virtual ~RecordSet ();
            int getRecordCount();
            string toString();
        private:
            vector<Record> m_RecordVector;
            ColumnSet m_ColumnSet;
            SQLiteWrapper m_SQLiteDB;
        };
    } /* im */ 
    
} /* duomai  */ 
#endif /* end of include guard: RECORDSET_H */
